<?php
//app/Model/User.php

App::uses('AuthComponent', 'Controller/Component');

class Photo extends AppModel
{
    public $name = 'Photo';
    var $useTable = 'photos';
    
    public $belongsTo = array(
        'Image' => array(
            'className' => 'Image',
        )
    );
}
?>